package com.zyy.meetObject;

public class Book {
    private  String name;
    private String author;
    private double price;

    public void setName(String a){
        name = a;
    }
    public String getName(){
        return name;
    }

    public  void setAuthor(String a){
        author = a;
    }

    public  String getAuthor(){
        return author;
    }

    public  void setPrice(double a){
        price = a;
    }

    public  double getPrice(){
        return price;
    }

    public String info(){
        return "bookName : " + name + "author : " + author + "price : " + price;
    }
}
